<template>
  <div class="SbomVulnerability-container">
    <div class="main">
      <div class="title">
        · 漏洞列表
      </div>
      <SbomVulnerabilityTable 
        :productName="getProductName" 
        isByProductName
      />
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent, ref } from "vue";
import SbomVulnerabilityTable from '@/components/SbomVulnerabilityTable.vue'
import { mapGetters} from 'vuex';
export default defineComponent({
  name: "SbomVulnerability",
  components: {
    SbomVulnerabilityTable
  },
  props: {},
  data() {
    return {
    };
  },
  computed:{
    ...mapGetters([
      'getProductName'
    ])
  },
  watch: {
    getProductName() {
      //
    }
  },
});
</script>

<style lang="less" scoped>
.SbomVulnerability-container{
  padding: 27px;
  .main{
    background-color: #ffffff;
    position: relative;
    .title{
      position: absolute;
      top: 20px;
      left: 0;
      height: 48px;
      line-height: 48px;
      background-color: #1330A0;
      border-radius: 0 24px 24px 0;
      font-size: 18px;
      font-weight: bold;
      color: #FEFEFE;
      padding: 0 20px 0 10px;
    }
  }
  
}
</style>